package cn.bxshey.resourceSharing.vo.comments;

import cn.bxshey.resourceSharing.entity.Comments;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @作者：不想说话而已
 * @Date：2023/12/20 19:14
 */

@Data
public class PageVO {
    private Long id;
    //评论者的id
    private Long uid;
    //该评论回复的评论的用户id
    private Long replyId;
    //评论所属文章id
    private Long eid;
    //评论层级
    private Integer pid;
    //评论时间
    @TableField(value = "date_time")
    private Date time;
    //评论内容
    private String content;
    //总页
    private Integer page;
    //总条数
    private Long count;

    //子评论列表
    @TableField(exist = false)
    List<Comments> comments;
}
